package com.atguigu.gmall.service.impl;

import com.atguigu.gmall.bean.UserAddress;
import com.atguigu.gmall.service.UserService;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class UserServiceImpl implements UserService {
    @Override
    public List<UserAddress> getUserAddressList(String userId) {
        UserAddress address1 = new UserAddress(1,"西安","1","小王","110","1");
        UserAddress address2 = new UserAddress(2,"西安","1","小王2","112","1");
        return Arrays.asList(address1,address2);
    }
}
